<template>
  <div>
    <el-dialog
      title="活动规则"
      :visible.sync="formInline.show"
      width="30%"
      center
    >
      <div v-html="formInline.rulesData"></div>
      <span slot="footer" class="dialog-footer">
        <el-button type="success" @click="formInline.show = false"
          >确 定</el-button
        >
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: {
    formInline: {
      type: Object,
      default: function() {
        return {
          rulesData: '',
          show: false
        }
      }
    }
  }
}
</script>

<style></style>
